package org.dbi.exceptions;

import java.util.Arrays;

public class DuplicateRecordException extends Exception {
	/**
     * 
     */
    private static final long serialVersionUID = -905822210903092137L;
	String error = "";
	
	public DuplicateRecordException(Object[] arg0) {
		super(Arrays.toString(arg0));
		error = Arrays.toString(arg0) +  " bestaat al";
	}
	
	public String getMessage(){
		return error;
	}
	
	
}
